import 'package:flutter/foundation.dart';
import 'dart:developer' as developer;

class Logger {

  static const bool DEV_DEBUG_OFF = false;

  static void dev(String msg) {
    if (DEV_DEBUG_OFF) return;
    assert((){
      debugPrint('FlutterRunner#dev#$msg');
      return true;
    }());
  }

  static void print(String msg) {
    print('FlutterRunner#$msg');
  }

  static void log(String msg, {String category}) {
    assert((){
      debugPrint('FlutterRunner#log#$msg');
      //developer.log(msg, name: category);
      return true;
    }());
  }

  static void debugger(String msg) {
    assert((){
      developer.debugger(message: msg);
      return true;
    }());
  }

  static void inspect(dynamic msg) {
    assert((){
      developer.inspect(msg);
      return true;
    }());
  }




}
